<template>
  <el-tabs v-model="activeName" @tab-click="handleClick">
    <el-tab-pane label="商品详情" name="first">
        <div>
            <p>文字内容</p>
            <div><img src="" alt=""></div>
        </div>
    </el-tab-pane>
    <el-tab-pane label="商品评价" name="second">
        <div>商品评价 <img src="" alt="">
            <ul>
                <li>商品评价</li>
            </ul>
        </div>
    </el-tab-pane>
    </el-tabs>
</template>
<script>
  export default {
    data() {
      return {
        activeName: 'second'
      };
    },
    methods: {
      handleClick(tab, event) {
       window.console.log(tab, event);
      }
    }
  };
</script>